In [ ]:
# Check library location
.libPaths()
In [ ]:
# Add a local path (if it doesn't exist nothing will happen)
.libPaths(c(.libPaths(), "C:/Users/michhar/Documents/bin/rmds"))
# Then recheck
.libPaths()
In [ ]:
getwd()
In [ ]:
install.packages("ggplot2", repos = "http://cloud.r-project.org/",
lib = "C:/Users/michhar/Documents/R/win-library/3.2/")
Created by a Microsoft Employee.
The MIT License (MIT)
Copyright (c) 2016 Micheleen Harris
In [ ]: